package com.zjgsu.nftplatform.pojo;

import com.zjgsu.nftplatform.entity.UserRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;
import java.util.Set;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("用户信息")
public class UserInfo {
    @ApiModelProperty("用户Id")
    private String userId;
    @ApiModelProperty("用户头像")
    private String img;
    @ApiModelProperty("用户昵称")
    private String name;
    @ApiModelProperty("用户手机号")
    private String phone;
    @ApiModelProperty("用户签名")
    private String signature;
    @ApiModelProperty("用户角色（出版社认证）")
    private Set<String> roles;
    @ApiModelProperty("实名认证状态")
    private Boolean certification;

    @ApiModelProperty("我关注的作品总数")
    private Long followGoods;
    @ApiModelProperty("我关注的创作者总数")
    private Long followCreator;
    @ApiModelProperty("粉丝数")
    private Long followMe;
    @ApiModelProperty("获赞数")
    private Long liked;
    @ApiModelProperty("我的艺术品总数")
    private Long myArtwork;
    @ApiModelProperty("余额")
    private BigDecimal assets;
    @ApiModelProperty("累计收入")
    private BigDecimal income;

    @ApiModelProperty("艺术品")
    private List<Long> artworkId;

    @ApiModelProperty("我的以太坊账户地址")
    private String address;
}
